#coding=utf-8
import string
import random

class cdkey():
	cdkeys=list()

	def __init__(self,jige,jiwei):
		self.jige=jige
		self.jiwei=jiwei
		self.run()
	def run(self):
		key=''
		for i in range(self.jige):
			for j in range(self.jiwei):
				key+=random.choice(string.ascii_letters+string.digits)
			self.cdkeys.append(key)
			key=""
		print self.cdkeys
def main():
	print "生成随机字符串 （个数 长度） 例如put:8 32\n"
	while True:
		i,j=raw_input("put:").split(" ")
		k=cdkey(int(i),int(j))
if __name__=="__main__":
	main()